package com.epi.one.basic.generic.pair;

import java.util.*;

/**
 * @author dxy
 * @version 1.0
 */
public class MyDate extends Date {
    private String name;

    public MyDate(String name) {
        super();
        this.name = name;
    }

    public MyDate(String name, long date) {
        super(date);
        this.name = name;
    }

    @Override
    public String toString() {
        return name+"\t"+super.toString();
    }
}
